#define _CRT_SECURE_NO_WARNINGS 1

#include <iterator>
struct note
{
    int data;
    int num;
};
class Solution {
public:

    int MoreThanHalfNum_Solution(vector<int>& numbers)
    {
        sort(numbers.begin(), numbers.end());
        int mid = numbers.size() / 2;
        return numbers[mid];


    }
};
